using PKGames;
using UnityEngine;

namespace VoxelGame
{
	public class WorldSelectionCellData : IGridCellData
	{
		[SerializeField]
		private readonly WorldSelectionConfig _worldSelectionConfig;

		public WorldSelectionConfig WorldSelectionConfig => _worldSelectionConfig;

		public Sprite IconTexture => _worldSelectionConfig.IconTexture;

		public WorldSelectionCellData(WorldSelectionConfig worldSelectionConfig)
		{
			_worldSelectionConfig = worldSelectionConfig;
		}
	}
}
